package com.ssy.lingxi.member.merchant.model.vo.mobile.request;

import com.ssy.lingxi.member.merchant.model.vo.validate.request.MemberQualityVO;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * App - 修改会员入库资料接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-05
 */
public class MobileUpdateDepositDetailVO implements Serializable {
    private static final long serialVersionUID = -8465693069534596798L;

    /**
     * 上级会员Id（店铺所属会员Id）
     */
    @NotNull(message = "上级会员Id要大于0")
    @Positive(message = "上级会员Id要大于0")
    private Long upperMemberId;

    /**
     * 上级会员角色Id（店铺所属会员角色Id）
     */
    @NotNull(message = "上级会员角色Id要大于0")
    @Positive(message = "上级会员角色Id要大于0")
    private Long upperRoleId;

    /**
     * 入库资料
     */
    private Map<String, Object> depositDetails;

    /**
     * 资质文件列表
     */
    @Valid
    private List<MemberQualityVO> qualities;

    public Long getUpperMemberId() {
        return upperMemberId;
    }

    public void setUpperMemberId(Long upperMemberId) {
        this.upperMemberId = upperMemberId;
    }

    public Long getUpperRoleId() {
        return upperRoleId;
    }

    public void setUpperRoleId(Long upperRoleId) {
        this.upperRoleId = upperRoleId;
    }

    public Map<String, Object> getDepositDetails() {
        return depositDetails;
    }

    public void setDepositDetails(Map<String, Object> depositDetails) {
        this.depositDetails = depositDetails;
    }

    public List<MemberQualityVO> getQualities() {
        return qualities;
    }

    public void setQualities(List<MemberQualityVO> qualities) {
        this.qualities = qualities;
    }
}
